﻿#include "widget.h"
#include <QApplication>
#include <QTranslator>

int main(int argc, char *argv[])
{
    QApplication a(argc, argv);

    //安装翻译包
    QTranslator translator;
    translator.load(":/translate/customer.qm");
    a.installTranslator(&translator);

    Widget w;
    w.show();

    return a.exec();
}
